package cn.edu.tju.elm.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;

/**
 * ClassName: ComplainCreateDTO
 * Package: cn.edu.tju.elm.dto
 * Description: 创建投诉的DTO
 *
 * @Author System
 * @Create 2025/10/31
 * @Version 1.0
 */
public class ComplainCreateDTO {

    @NotNull(message = "订单ID不能为空")
    private Long orderId;

    @NotBlank(message = "投诉内容不能为空")
    private String content;

    public ComplainCreateDTO() {
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}

